var Mock = require('mockjs');
const mr = Mock.Random;

module.exports = () =>
  Mock.mock({
    'goods|3': [
      {
        'id|+1': 1000,
        title: '@ctitle(8,12)',
        des: "@csentence(10,20)",
        time: '@integer(15523425967489,1553475967486)',
        detail: {
          auth: '@cname',
          auth_icon: mr.image('50*50', mr.color(), mr.cword(1))
        }
      }
    ]
  });
